/* vim: set sw=8 ts=8 sts=8 expandtab: */
#ifndef CMAID_TREE_H
#define CMAID_TREE_H

/**
 * @addtogroup Cmaid_Tree
 * @{
 */
EAPI Cmaid_Set  *cmaid_tree_set_new(const Cmaid_Value *key);
EAPI Cmaid_Map  *cmaid_tree_map_new(const Cmaid_Value *key,
                                        const Cmaid_Value *val);

/*
 * The interface structures, use them on your own risk, or even better do not
 * use them at all
 */
EAPI extern const Cmaid_Set_Interface cmaid_tree_set_if;
EAPI extern const Cmaid_Map_Interface cmaid_tree_map_if;
EAPI extern const Cmaid_Iter_Interface cmaid_tree_key_iter_if;
EAPI extern const Cmaid_Iter_Interface cmaid_tree_value_iter_if;

/**
 * @}
 */

#endif
